/* ======使用注明=======
 //#import "SEGNeighbourView.h"
 //@property (nonatomic, strong)SEGNeighbourView *varNeighbourView; <#注释#>
 // 控件数据模型创建
 SEGNeighbourViewModel *data = [[SEGNeighbourViewModel alloc]init];
 // 控件内容布局计算
 SEGNeighbourViewLayout *layout = [[SEGNeighbourViewLayout alloc]initWithData:data type:SEGEnumNeighbourViewType_NO];
 // 内容布局填充到视图
 SEGNeighbourView *varNeighbourView = [[SEGNeighbourView alloc]initWithFrame:CGRectZero];
 //varNeighbourView.delegate = self;
 varNeighbourView.left = 0;
 varNeighbourView.top = 0;
 varNeighbourView.width = LYScreenWidth()();
 varNeighbourView.height = varNeighbourView.layout.totalHeight;
 [varNeighbourView setWithLayout:layout];
 
 */
#import <UIKit/UIKit.h>
#define kNeighbourViewHeight 35     // NeighbourView的高度

#if __has_include(<Commom/SEGText.h>)
#import <Commom/SEGText.h>
#else
#import "SEGText.h"
#endif

#import "SEGNeighbourViewModel.h"

@protocol SEGprotocolNeighbourViewDelegate <NSObject>
- (void)neighbourViewImageTapWithImageUrlArray:(NSArray *)arr SelectedImageView:(UIImageView*)image SelectedIndex:(NSInteger)index;
@optional
@end

@interface SEGNeighbourView : UIView
@property (nonatomic, strong,readonly)SEGNeighbourViewLayout *layout;
- (void)setWithLayout:(SEGNeighbourViewLayout *)layout;
@property (nonatomic, strong) UIView *morePicture; // 多张图


@property (nonatomic, assign) id<SEGprotocolNeighbourViewDelegate> delegate;// 代理
@end
